package com.dnjn.happiness.emo.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.dnjn.happiness.emo.domain.HlbeanType;
import com.dnjn.happiness.emo.mapper.HlbeanTypeMapper;
import com.dnjn.happiness.emo.service.IHlbeanTypeService;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author Amber
 * @since 2023-10-09
 */
@Service
public class HlbeanTypeServiceImpl extends ServiceImpl<HlbeanTypeMapper, HlbeanType> implements IHlbeanTypeService {

    @Override
    public HlbeanType getHlbeanTypeByCode(String code) {
        return lambdaQuery().eq(HlbeanType::getHlbeanCode,code).one();
    }
}
